<!--{if $cate_list}-->
<!--{loop $cate_list $citem}-->
	<div class="piece1 mb20">
		<div class="piece1_hd"></div>
		<div class="piece1_bd" style="padding:5px 25px ">
			<div class="share_title">
				<h2>MM们喜欢的<a target="_blank" href="{u book/cate cate=$citem['cate_code']}">{$citem['short_name']}</a>
                		
                <a target="_blank" href="{u book/cate cate=$citem['cate']['cate_code'],sort=new}" class="new_tip"><em>今日上新{$citem['today_count']}件</em><i></i></a>
               
                </h2>
			</div>
			<div class="cate_share_box">
				<ul>
				<!--{eval $cate_idx = 1;}-->
				<!--{loop $citem['groups'] $group}-->
                <!--{if $cate_idx <7}-->
				
                  <!--{eval $share_index=1;}-->
                  <!--{loop $group['share_list'] $share}-->
                  <!--{if $share_index > 1}-->
                  <!--{eval break;}-->
                  <!--{/if}-->
				  <li>                        
                  <!--{if !empty($share['url'])}-->
				  <a href="{u book/cate gid=$group['id'],cate=$citem['cate_code']}"><img class="lazyload" src="./tpl/images/lazyload.gif" original="{getimg $share['img'] 160 160}" alt="{$share['name']}" /><span>{$group['name']}</span></a>
				  <!--{else}-->
				  <a href="{u book/cate gid=$group['id'],sid=$share['share_id'],cate=$citem['cate_code']}"><img class="lazyload" src="./tpl/images/lazyload.gif" original="{getimg $share['img'] 160 160}" alt="{$share['name']}" /><span>{$share['name']}</span></a>
				  <!--{/if}-->
						
				  </li>
                  <!--{eval $share_index++;}-->
			      <!--{/loop}-->
			    <!--{eval $cate_idx++;}-->
                <!--{/if}-->
				<!--{/loop}-->
				</ul>
			</div>
			<div class="cate_share_who  clearfix">
				<div class="t fl">
				分享 <a target="_blank" href="{u book/cate cate=$citem['cate_code']}">{$citem['short_name']}</a> 的<br>MM们
				</div>
				<ul class="fl clearfix">
				<!--{eval $user_index = 0;}-->
				<!--{loop $citem['users'] $uid $user}-->
				<!--{if $uid > 0}-->
					<li>
					<!--{if $user_index > 4}-->
					<!--{eval break;}-->
					<!--{/if}-->
					<!--{eval $user_index++;}-->
					<!--{getuser $uid 0 '' '' 'inc/getuser/index_cate_share'}-->
					<div class="follow fl">
					<!--{getfollow $uid inc/getfollow/index_cate_share}-->
					</div>
					</li>
				<!--{/if}-->
				<!--{/loop}-->
			</ul>
			<div class="share_count fr">
				<!--{if $citem['today_count'] > 0}-->
				<span>今日上新</span><br>
				<b>{$citem['today_count']}件</b>
				<!--{/if}-->
			</div>
			</div>
		</div>
		<div class="piece1_ft"></div>
	</div>
	<!--{/loop}-->
	<script>
	function CateUpdateUserFollow(obj,result)
	{
		if(result.status == 1)
		{
			$(obj).before('<img src="./tpl/images/flow_ok.gif" />');
			$(obj).remove();
		}
		else{
			$(obj).before('<img src="./tpl/images/to_flow.gif" />');
			$(obj).remove();
		}
	}
	FANWE.NO_COUNTER = true;
	</script>
<!--{/if}-->